home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2006 December / PCWDEC06.iso / Software / Shareware / Twistpad 1.1 / Setup.exe / Syntax / csharp.sdf < prev    next >
Encoding:
Text File  |  2006-04-29  |  2.8 KB  |  172 lines

  1. ;C# adicional Syntax highlight Script for Twistpad
  2. ;1998 - 2006 (C) Carthago Software
  3.  
  4. [::Header::]
  5. SyntaxName=C Sharp
  6. Extensions=cs
  7. functions=(?i)Private* *[a-zA-Z_0-9]* *[a-zA-Z_0-9]*\(|(?i)Public* *[a-zA-Z_0-9]* *[a-zA-Z_0-9]*\(|(?i)#region
  8. Spelling=0 
  9. SpellingContexts=1;2;3;4
  10.  
  11. [Comment1]
  12. Type=StartStop
  13. Context=1
  14. Scope=0
  15. Priority=9
  16. WholeWordOnly=0
  17. First=/*
  18. Last=*/
  19. Background=Default
  20. Foreground=008000
  21.  
  22. [Strings2]
  23. Type=StartStop
  24. Context=3
  25. Scope=0
  26. Priority=9
  27. WholeWordOnly=0
  28. First="
  29. Last="
  30. Background=Default
  31. Foreground=408080
  32.  
  33. [Coment2]
  34. Type=StartStop
  35. Context=4
  36. Scope=0
  37. Priority=10
  38. WholeWordOnly=0
  39. First=///
  40. Last=
  41. Background=Default
  42. Foreground=008000
  43.  
  44. [Coment3]
  45. Type=StartStop
  46. Context=5
  47. Scope=0
  48. Priority=9
  49. WholeWordOnly=0
  50. First=//
  51. Last=
  52. Background=Default
  53. Foreground=008000
  54.  
  55. [in_comment_tag]
  56. Type=StartStop
  57. Context=6
  58. Scope=4
  59. Priority=10
  60. WholeWordOnly=0
  61. First=<
  62. Last=>
  63. Background=Default
  64. Foreground=808080
  65.  
  66. [Regions]
  67. Type=StartStop
  68. Context=7
  69. Scope=0
  70. Priority=5
  71. WholeWordOnly=1
  72. First=#region
  73. Last=#endregion
  74. Background=Default
  75. Foreground=Default
  76. Outline=1
  77. BeginParagraph=1
  78.  
  79. [Bracketss]
  80. Type=StartStop
  81. Context=8
  82. Scope=0
  83. Priority=5
  84. WholeWordOnly=1
  85. First={
  86. Last=}
  87. Background=Default
  88. Foreground=Default
  89. Outline=1
  90. smart=1
  91. BeginParagraph=0
  92.  
  93.  
  94. [Keywords]
  95. Type=keyword
  96. Context=100
  97. Scope=0
  98. Priority=6
  99. WholeWordOnly=1
  100. Keyword1=new;sizeof;typeof;checked;unchecked;abstract;as;base;bool;break;byte;case;catch;char;checked;class;const;continue;decimal
  101. Keyword2=default;delegate;do;double;else;enum;event;explicit;extern;false;finally;fixed;float;for;foreach;goto;if;implicit;in;int
  102. Keyword3=interface;internal;is;lock;long;namespace;new;null;object;operator;out;override;params;private;protected;public;readonly
  103. Keyword4=ref;return;sbyte;sealed;short;sizeof;stackalloc;static;string;struct;switch;this;throw;true;try;typeof;uint;ulong;unchecked
  104. Keyword5=unsafe;ushort;using;virtual;void;while;get;set
  105. Keyword6=
  106. Keyword7=
  107. Keyword8=
  108. Keyword9=
  109. Keyword10=
  110. Keyword11=
  111. Keyword12=
  112. Keyword13=
  113. Keyword14=
  114. Keyword15=
  115. Keyword16=
  116. Background=Default
  117. Foreground=0000FF
  118.  
  119. [PreProcessors]
  120. Type=keyword
  121. Context=101
  122. Scope=0
  123. Priority=7
  124. WholeWordOnly=1
  125. Keyword1=#if;#else;#elif;#endif;#define;#undef;#warning;#error;#line;
  126. Keyword2=#region;#endregion
  127. Keyword3=
  128. Keyword4=
  129. Keyword5=
  130. Keyword6=
  131. Keyword7=
  132. Keyword8=
  133. Keyword9=
  134. Keyword10=
  135. Keyword11=
  136. Keyword12=
  137. Keyword13=
  138. Keyword14=
  139. Keyword15=
  140. Keyword16=
  141. Background=Default
  142. Foreground=0000FF
  143. BeginParagraph=1
  144.  
  145. [slashcolor]
  146. Type=keyword
  147. Context=102
  148. Scope=4
  149. Priority=7
  150. WholeWordOnly=1
  151. Keyword1=///
  152. Keyword2=
  153. Keyword3=
  154. Keyword4=
  155. Keyword5=
  156. Keyword6=
  157. Keyword7=
  158. Keyword8=
  159. Keyword9=
  160. Keyword10=
  161. Keyword11=
  162. Keyword12=
  163. Keyword13=
  164. Keyword14=
  165. Keyword15=
  166. Keyword16=
  167. Background=Default
  168. Foreground=808080
  169. BeginParagraph=0
  170.  
  171.  
  172.